﻿using System.Collections.Generic;
using Nop.Plugin.Shipping.ByWeightAndDistance.Domain;

namespace Nop.Plugin.Shipping.ByWeightAndDistance.Services
{
    public partial interface IShippingByWeightAndDistanceService
    {
        void DeleteShippingByWeightAndDistanceRecord(ShippingByWeightAndDistanceRecord shippingByWeightRecord);

        IList<ShippingByWeightAndDistanceRecord> GetAll();

        ShippingByWeightAndDistanceRecord FindRecord(int shippingMethodId, int countryId, decimal weight, decimal distance);

        ShippingByWeightAndDistanceRecord GetById(int shippingByWeightRecordId);

        void InsertShippingByWeightAndDistanceRecord(ShippingByWeightAndDistanceRecord shippingByWeightRecord);

        void UpdateShippingByWeightAndDistanceRecord(ShippingByWeightAndDistanceRecord shippingByWeightRecord);
    }
}